<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="org.windblog.core.*,org.windblog.core.entity.*,java.util.Date"
	pageEncoding="UTF-8"%>
<%@page import="org.windblog.api.template.TemplateService"%>

<jsp:include page="header.jsp"></jsp:include>
<div id="content" class="widecolumn">
<%
	if (WBQuery.getCurrentPage() != null) {
		Page thePage = WBQuery.getCurrentPage();
%>
<div>
<h2><%=thePage.getTitle()%></h2>
<div class="entry"><%=thePage.getContent()%> <br />
<hr />
</div>
</div>

<%
	} else {
%>
<p>Sorry, no Page matched your criteria.</p>
<%
	}
%>
</div>

<jsp:include page="footer.jsp"></jsp:include>